﻿using System.Text;

namespace HamcoWcs.Models.DeviceMsgs.BconMsgs.BconSendTel
{
    public class BconTel_DQ : BconBaseTel
    {
        public string Begin_ExitDestination { get; set; }
        public string End_ExitDestianation { get; set; }
        public override string Encode()
        {
            StringBuilder transText = new StringBuilder();
            transText.Append("<<");
            transText.Append(Tel_Type);
            transText.Append("017");
            transText.Append(Begin_ExitDestination.PadLeft(4, '0'));
            transText.Append(End_ExitDestianation.PadLeft(4, '0'));
            transText.Append(">>");
            return transText.ToString();
        }
    }
}
